2021/4/27 9:37:41->System.IO.IOException: 端口“COM4”不存在。
   在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   在 System.IO.Ports.SerialPort.Open()
   在 DataSave.ModBus.initport() 位置 D:\工作\280-sunnyui\3.280设备数据下载（英文版） - excel\280数据下载\Common\ModBus.cs:行号 42

2021/4/27 9:37:43->System.IO.IOException: 端口“COM4”不存在。
   在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   在 System.IO.Ports.SerialPort.Open()
   在 DataSave.ModBus.initport() 位置 D:\工作\280-sunnyui\3.280设备数据下载（英文版） - excel\280数据下载\Common\ModBus.cs:行号 42

2021/4/27 9:37:44->System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
   在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   在 System.Collections.Generic.List`1.get_Item(Int32 index)
   在 System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
   在 DataSave.Download.LineChart_MouseUp(Object sender, MouseEventArgs e) 位置 D:\工作\280-sunnyui\3.280设备数据下载（英文版） - excel\280数据下载\DataSave\Download.cs:行号 406

2021/4/27 9:37:46->System.IO.IOException: 端口“COM4”不存在。
   在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   在 System.IO.Ports.SerialPort.Open()
   在 DataSave.ModBus.initport() 位置 D:\工作\280-sunnyui\3.280设备数据下载（英文版） - excel\280数据下载\Common\ModBus.cs:行号 42

2021/4/27 9:37:48->System.IO.IOException: 端口“COM4”不存在。
   在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   在 System.IO.Ports.SerialPort.Open()
   在 DataSave.ModBus.initport() 位置 D:\工作\280-sunnyui\3.280设备数据下载（英文版） - excel\280数据下载\Common\ModBus.cs:行号 42

2021/4/27 9:37:48->System.IO.IOException: 端口“COM4”不存在。
   在 System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   在 System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   在 System.IO.Ports.SerialPort.Open()
   在 DataSave.ModBus.initport() 位置 D:\工作\280-sunnyui\3.280设备数据下载（英文版） - excel\280数据下载\Common\ModBus.cs:行号 42

